<template>
  <div>
    <!--粘度输入方式1:常量输入-->
    <div>
      <el-form :model="viscosityDensity"
               :rules="rules"
               ref="viscosityDensity"
               label-width="100px"
               class="demo-ruleForm">
        <el-form-item label="流体粘度" prop="viscosityValue">
          <el-input v-model.trim="viscosityDensity.viscosityValue" style="width: 200px"></el-input>
          <span>{{viscosityDensity.viscosityUnit}}</span>
        </el-form-item>
      </el-form>
    </div>
  </div>
</template>

<script>
  export default {
    name: "fluidViscosityInputModel1",
    data(){
      return{
        rules: {
          viscosityValue: [
            { required: true, message: '请输入流体密度', trigger: 'blur' }
          ],
        },
        viscosityDensity:{
          id:'',
          viscosityValue:'',
          viscosityUnit:'m2/s',
        },
      }
    },
    methods:{

    },
  }
</script>

<style scoped>

</style>
